<admintpl file="header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:U('Feedback/index')}">意见反馈列表</a></li>
		</ul>
        <form class="well form-search" id="myform" method="post" action="{:U('Feedback/index')}">
			内容:
			<input type="text" name="feedback_content" style="width: 130px;" value="{:I('request.feedback_content/s','')}" placeholder="请输入反馈内容">
			创建用户:
			<input type="text" name="create_member" style="width: 130px;" value="{:I('request.create_member/s','')}" placeholder="请输入用户">
            <input type="submit" class="btn btn-primary" value="搜索" />
            <a class="btn btn-danger" href="{:U('Feedback/index')}">清空</a>
			<a class="btn btn-success" id="excelout" href="javascript:;">导出</a>
        </form>
		<table class="table table-hover table-bordered">
			<thead>
				<tr>
					<th width="50">ID</th>
					<th>反馈内容</th>
					<th>创建用户</th>
					<th width="200">创建时间</th>
				</tr>
			</thead>
			<style>td{word-break:break-all;}</style>
			<tbody>
				<foreach name="list" item="vo">
				<tr>
					<td>{$vo.id}</td>
					<td>{$vo.feedback_content}</td>
					<td>{$vo.create_member}</td>
					<td>{$vo.create_time}</td>
				</tr>
				</foreach>
			</tbody>
		</table>
		<div class="pagination">{$page}</div>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
	<script>
        //导出
        $('#excelout').on('click',function()
        {
            $("#myform").attr("action", "{:U('Feedback/excelout')}");
            $("#myform").submit();
            $("#myform").attr("action", "{:U('Feedback/index')}");
        });
	</script>
</body>
</html>